//
//  UITextField+Validator.h
//  iNote1
//
//  Created by tjufe on 2017/7/17.
//  Copyright © 2017年 zhen-PC. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (Validator)

-(BOOL)isNotEmpty;
-(BOOL)validateUserName;
-(BOOL)validateEmail;
-(BOOL)validatePhoneNumber;
-(BOOL)validatePassWord;
//6位数字的验证码
-(BOOL)validateSixVerificationCode;
//姓名
-(BOOL)validateName;
+ (BOOL)checkPassword:(NSString *) password;
@end
